Big update
This commit is contained in:
parent
739f3d97f2
commit
62d4de0360
10 changed files with 328 additions and 103 deletions
25
home.nix
25
home.nix
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, config, lib, pkgs, flakes-pkgs, ... }:
|
||||
{ inputs, config, lib, pkgs, username, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
|
@ -8,11 +8,12 @@
|
|||
./terminal-software.nix
|
||||
./gui-software.nix
|
||||
./gaming.nix
|
||||
./additional-software.nix
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "ant";
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${config.home.username}";
|
||||
|
||||
home.stateVersion = "23.05"; # Please read the comment before changing.
|
||||
|
|
@ -105,7 +106,7 @@
|
|||
fi
|
||||
'';
|
||||
|
||||
".bin/dark".source = (import ./bin/dark.nix) pkgs;
|
||||
".bin/dark".source = (import ./bin/dark.nix) pkgs; # deprecated, prefer darkman
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -115,9 +116,6 @@
|
|||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
# EDITOR = "nvim";
|
||||
# TERMINAL = "kitty";
|
||||
# TERM = "kitty";
|
||||
GOPATH = "${config.home.homeDirectory}/.local/share/go";
|
||||
GOMODCACHE = "${config.home.homeDirectory}/.cache/go/pkg/mod";
|
||||
|
||||
|
|
@ -151,12 +149,21 @@
|
|||
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"text/plain" = "nvim.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
lightModeScripts = {
|
||||
rm-file-indicator = "rm $XDG_STATE_HOME/darkmode";
|
||||
};
|
||||
|
||||
darkModeScripts = {
|
||||
set-file-indicator = "touch $XDG_STATE_HOME/darkmode";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services.gnome-keyring.enable = true;
|
||||
services.syncthing.enable = true;
|
||||
services.kdeconnect.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue