Compare commits
26 Commits
eedb4ddc45
...
f20bd94cc3
Author | SHA1 | Date | |
---|---|---|---|
f20bd94cc3 | |||
72c1f204ff | |||
45f52123ad | |||
7f822cdc94 | |||
923ef537b8 | |||
3d8429c12e | |||
5554cd85a8 | |||
afd81e18b6 | |||
9cd21b6574 | |||
cddb5a623c | |||
3e9ce6bd6c | |||
76456ed033 | |||
b3d3767912 | |||
f7393d1a94 | |||
ed262deb9c | |||
27b933b014 | |||
b8a0e4c563 | |||
6e2130c986 | |||
ff5693263b | |||
3d60f7c462 | |||
74a69941ac | |||
e8f4bdf156 | |||
380bed59a3 | |||
81ae432c3d | |||
9161fa65f9 | |||
6332a15891 |
@@ -54,6 +54,8 @@
|
|||||||
# Enable the KDE Plasma Desktop Environment.
|
# Enable the KDE Plasma Desktop Environment.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = [ pkgs.kdePackages.sddm-kcm ];
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
enableHidpi = true;
|
enableHidpi = true;
|
||||||
};
|
};
|
||||||
@@ -240,12 +242,13 @@
|
|||||||
|
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
|
|
||||||
security.polkit.enable = true;
|
# security.polkit.enable = true;
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
PermitRootLogin = "no";
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
};
|
};
|
||||||
|
24
flake.lock
generated
24
flake.lock
generated
@@ -117,11 +117,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748627197,
|
"lastModified": 1748925027,
|
||||||
"narHash": "sha256-7dTtcq4Yi78cHfZcJaxlqkNs+cDBotrHjR9mkXfiUz4=",
|
"narHash": "sha256-BJ0qRIdvt5aeqm3zg/5if7b5rruG05zrSX3UpLqjDRk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "379c9fb858ef9abe92d5590e7502a7c1387c076a",
|
"rev": "cb809ec1ff15cf3237c6592af9bbc7e4d983e98c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -204,11 +204,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748645134,
|
"lastModified": 1748888571,
|
||||||
"narHash": "sha256-nXTdGPXgI/aUsLSS0vjNqZfCYiWoG7TCp/dVfg2Bwsc=",
|
"narHash": "sha256-iyZNR6VSJ4zlJ3hMt8+c3MHNeQrXDjsdwFlHdKDxc9A=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "af2fdb5d58f5d3017aafd78a8ddafb40f710e34b",
|
"rev": "b1d0a727cc594e5329c5971d73391c7529e1c80e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -423,11 +423,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748460289,
|
"lastModified": 1748693115,
|
||||||
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
|
"narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
|
"rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -446,11 +446,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748645350,
|
"lastModified": 1748935843,
|
||||||
"narHash": "sha256-Qy1xqRzaijsaV31Hy/f7Lc8WC4tMjS8m3WGEjKyemaM=",
|
"narHash": "sha256-ZTbwljoJXgkGAPlYz0GIcNiXQNfPFHe2A0Dqe9KDyPA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "78a3ab3f97352f72d205596d8f3e776de96c7708",
|
"rev": "032af0a65aa867a6209718033995f5ba73fee543",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -298,11 +298,14 @@
|
|||||||
:straight nil
|
:straight nil
|
||||||
:hook
|
:hook
|
||||||
(c-ts-mode . eglot-ensure)
|
(c-ts-mode . eglot-ensure)
|
||||||
|
(nix-ts-mode . eglot-ensure)
|
||||||
(python-ts-mode . eglot-ensure)
|
(python-ts-mode . eglot-ensure)
|
||||||
:config
|
:config
|
||||||
(setq eldoc-echo-area-display-truncation-message nil
|
(setq eldoc-echo-area-display-truncation-message nil
|
||||||
eldoc-echo-area-prefer-doc-buffer t
|
eldoc-echo-area-prefer-doc-buffer t
|
||||||
max-mini-window-height 2))
|
max-mini-window-height 2)
|
||||||
|
(dolist (mode '(((nix-mode nix-ts-mode) . ("nixd"))))
|
||||||
|
(add-to-list 'eglot-server-programs mode)))
|
||||||
|
|
||||||
;; treesit-auto
|
;; treesit-auto
|
||||||
(use-package treesit-auto
|
(use-package treesit-auto
|
||||||
@@ -352,14 +355,14 @@
|
|||||||
(pdf-tools-install :no-query)
|
(pdf-tools-install :no-query)
|
||||||
(require 'pdf-occur))
|
(require 'pdf-occur))
|
||||||
|
|
||||||
;; helm
|
;; ;; helm
|
||||||
(use-package helm
|
;; (use-package helm
|
||||||
:config
|
;; :config
|
||||||
(global-set-key (kbd "M-x") #'helm-M-x)
|
;; (global-set-key (kbd "M-x") #'helm-M-x)
|
||||||
(global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks)
|
;; (global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks)
|
||||||
(global-set-key (kbd "C-x C-f") #'helm-find-files)
|
;; (global-set-key (kbd "C-x C-f") #'helm-find-files)
|
||||||
(setq helm-ff-auto-update-initial-value 1)
|
;; (setq helm-ff-auto-update-initial-value 1)
|
||||||
(helm-mode 1))
|
;; (helm-mode 1))
|
||||||
|
|
||||||
;; org stuff
|
;; org stuff
|
||||||
(use-package org
|
(use-package org
|
||||||
|
119
home/home.nix
119
home/home.nix
@@ -1,27 +1,30 @@
|
|||||||
{ config, pkgs, nur, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./plasma.nix
|
./plasma.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.username = "chase";
|
home = {
|
||||||
home.homeDirectory = "/home/chase";
|
username = "chase";
|
||||||
home.stateVersion = "24.11";
|
homeDirectory = "/home/chase";
|
||||||
|
preferXdgDirectories = true;
|
||||||
home.file = {
|
stateVersion = "24.11";
|
||||||
"scripts" = {
|
file = {
|
||||||
source = config.lib.file.mkOutOfStoreSymlink ./scripts;
|
"scripts" = {
|
||||||
recursive = true;
|
source = config.lib.file.mkOutOfStoreSymlink ./scripts;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
sessionPath = [
|
||||||
|
"$HOME/scripts"
|
||||||
|
];
|
||||||
|
shellAliases = {
|
||||||
|
gs = "git status";
|
||||||
|
"..." = "cd ../..";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionPath = [
|
|
||||||
"$HOME/scripts"
|
|
||||||
];
|
|
||||||
|
|
||||||
home.preferXdgDirectories = true;
|
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userDirs.enable = true;
|
userDirs.enable = true;
|
||||||
@@ -40,19 +43,6 @@
|
|||||||
flavor = "mocha";
|
flavor = "mocha";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.alacritty = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
font = {
|
|
||||||
normal = {
|
|
||||||
family = "IBM Plex Mono";
|
|
||||||
style = "Regular";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# theme = "catppuccin_mocha";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
@@ -61,11 +51,16 @@
|
|||||||
'';
|
'';
|
||||||
historyIgnore = [
|
historyIgnore = [
|
||||||
"ls"
|
"ls"
|
||||||
|
"ls -a"
|
||||||
|
"ls -l"
|
||||||
|
"ls -la"
|
||||||
"cd"
|
"cd"
|
||||||
"exit"
|
"exit"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.bat.enable = true;
|
||||||
|
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacs-pgtk;
|
package = pkgs.emacs-pgtk;
|
||||||
@@ -197,9 +192,9 @@
|
|||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
installBatSyntax = true;
|
||||||
installVimSyntax = true;
|
installVimSyntax = true;
|
||||||
settings = {
|
settings = {
|
||||||
# theme = "catppuccin-mocha";
|
|
||||||
font-family = "BlexMono Nerd Font";
|
font-family = "BlexMono Nerd Font";
|
||||||
font-size = 11;
|
font-size = 11;
|
||||||
};
|
};
|
||||||
@@ -216,6 +211,11 @@
|
|||||||
|
|
||||||
programs.git-credential-oauth.enable = true;
|
programs.git-credential-oauth.enable = true;
|
||||||
|
|
||||||
|
programs.gpg = {
|
||||||
|
enable = true;
|
||||||
|
homedir = "${config.xdg.dataHome}/gnupg";
|
||||||
|
};
|
||||||
|
|
||||||
programs.htop.enable = true;
|
programs.htop.enable = true;
|
||||||
|
|
||||||
programs.mpv = {
|
programs.mpv = {
|
||||||
@@ -229,37 +229,38 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ncmpcpp = {
|
|
||||||
enable = true;
|
|
||||||
bindings = [
|
|
||||||
{ key = "h"; command = "previous_column"; }
|
|
||||||
{ key = "j"; command = "scroll_down"; }
|
|
||||||
{ key = "k"; command = "scroll_up"; }
|
|
||||||
{ key = "l"; command = "next_column"; }
|
|
||||||
];
|
|
||||||
settings = {
|
|
||||||
media_library_primary_tag = "album_artist";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.obs-studio.enable = true;
|
programs.obs-studio.enable = true;
|
||||||
|
|
||||||
|
# programs.senpai.enable = true;
|
||||||
|
|
||||||
|
# programs.sm64ex.enable = true;
|
||||||
|
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
|
settings = {
|
||||||
|
line_break = {
|
||||||
|
disabled = true;
|
||||||
|
};
|
||||||
|
username = {
|
||||||
|
style_user = "bold blue";
|
||||||
|
format = "[$user]($style)@";
|
||||||
|
show_always = true;
|
||||||
|
};
|
||||||
|
hostname = {
|
||||||
|
style = "bold cyan";
|
||||||
|
format = "[$ssh_symbol$hostname]($style) ";
|
||||||
|
ssh_only = false;
|
||||||
|
};
|
||||||
|
directory = {
|
||||||
|
style = "bold green";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.ranger.enable = true;
|
programs.ranger.enable = true;
|
||||||
|
|
||||||
programs.rmpc = {
|
programs.rmpc.enable = true;
|
||||||
enable = true;
|
|
||||||
config = ''
|
|
||||||
(
|
|
||||||
album_art: (
|
|
||||||
method: Auto,
|
|
||||||
max_size_px: (width: 1200, height: 1200),
|
|
||||||
disabled_protocols: ["http://", "https://"],
|
|
||||||
vertical_align: Center,
|
|
||||||
horizontal_align: Center,
|
|
||||||
),
|
|
||||||
)
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.texlive.enable = true;
|
programs.texlive.enable = true;
|
||||||
|
|
||||||
@@ -279,6 +280,7 @@
|
|||||||
anki-bin
|
anki-bin
|
||||||
audacity
|
audacity
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
fortune
|
||||||
gimp
|
gimp
|
||||||
ibm-plex
|
ibm-plex
|
||||||
imagemagick
|
imagemagick
|
||||||
@@ -286,6 +288,7 @@
|
|||||||
libnotify
|
libnotify
|
||||||
libreoffice
|
libreoffice
|
||||||
logiops
|
logiops
|
||||||
|
lolcat
|
||||||
nerd-fonts.blex-mono
|
nerd-fonts.blex-mono
|
||||||
picard
|
picard
|
||||||
protonmail-bridge
|
protonmail-bridge
|
||||||
@@ -300,7 +303,9 @@
|
|||||||
client = {
|
client = {
|
||||||
enable = true;
|
enable = true;
|
||||||
arguments = [
|
arguments = [
|
||||||
"-w"
|
"-c"
|
||||||
|
"-a ''"
|
||||||
|
"-n"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
Reference in New Issue
Block a user