From 53a39bc6f60b8d19964a64583fbf10088b7c8d20 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 4 Nov 2024 10:06:11 +0530 Subject: (update): dwl, vm config --- machines/d/home.nix | 39 ----------------------------------- machines/v/home.nix | 40 ------------------------------------ machines/vm/home.nix | 49 ++++++++++++++++++++++++++++++++++++++++++++ machines/x/configuration.nix | 13 ++++-------- machines/x/home.nix | 10 ++++----- 5 files changed, 58 insertions(+), 93 deletions(-) delete mode 100644 machines/d/home.nix delete mode 100644 machines/v/home.nix create mode 100644 machines/vm/home.nix (limited to 'machines') diff --git a/machines/d/home.nix b/machines/d/home.nix deleted file mode 100644 index 41b1380..0000000 --- a/machines/d/home.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ pkgs, ... }: - -{ - nixpkgs.config.allowUnfree = true; - - home = { - username = "compromyse"; - homeDirectory = "/home/compromyse"; - }; - - home.packages = with pkgs; [ - wget - - tmux - fzf - fd - ripgrep - - unzip - zip - - git-lfs - ]; - - programs.bash.initExtra = '' - . "$HOME/.nix-profile/etc/profile.d/nix.sh" - alias ls="ls --color=auto" - ''; - - imports = (map (path: ../../config/${path}) [ - "bash.nix" - "dotfiles.nix" - "git" - "nvim" - ]); - - home.stateVersion = "23.11"; - programs.home-manager.enable = true; -} diff --git a/machines/v/home.nix b/machines/v/home.nix deleted file mode 100644 index 201d8db..0000000 --- a/machines/v/home.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ pkgs, ... }: - -{ - nixpkgs.config.allowUnfree = true; - - home = { - username = "vagrant"; - homeDirectory = "/home/vagrant"; - }; - - home.packages = with pkgs; [ - wget - - tmux - fzf - fd - ripgrep - - unzip - zip - - pyright - git-lfs - ]; - - programs.bash.initExtra = '' - . "$HOME/.nix-profile/etc/profile.d/nix.sh" - alias ls="ls --color=auto" - ''; - - imports = (map (path: ../../config/${path}) [ - "bash.nix" - "dotfiles.nix" - "git" - "nvim" - ]); - - home.stateVersion = "23.11"; - programs.home-manager.enable = true; -} diff --git a/machines/vm/home.nix b/machines/vm/home.nix new file mode 100644 index 0000000..7aca730 --- /dev/null +++ b/machines/vm/home.nix @@ -0,0 +1,49 @@ +{ pkgs, ... }: + +{ + nixpkgs.config.allowUnfree = true; + + home = { + username = "compromyse"; + homeDirectory = "/home/compromyse"; + }; + + home.packages = with pkgs; [ + wget + + tmux + fzf + fd + ripgrep + + unzip + zip + + git-lfs + ]; + + programs = { + direnv = { + enable = true; + enableBashIntegration = true; + nix-direnv.enable = true; + }; + + bash.enable = true; + }; + + programs.bash.initExtra = '' + . "$HOME/.nix-profile/etc/profile.d/nix.sh" + alias ls="ls --color=auto" + ''; + + imports = (map (path: ../../config/${path}) [ + "bash.nix" + "dotfiles.nix" + "git" + "nvim" + ]); + + home.stateVersion = "23.11"; + programs.home-manager.enable = true; +} diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix index fbd553f..c26d6b5 100644 --- a/machines/x/configuration.nix +++ b/machines/x/configuration.nix @@ -27,10 +27,10 @@ in { "virtualization.nix" "remapcapslock.nix" - # "wm_utils.nix" - # "polkit.nix" + "wm_utils.nix" + "polkit.nix" "login.nix" - "plasma.nix" + # "plasma.nix" ]); boot.loader = { @@ -56,10 +56,6 @@ in { networking.hostName = "x"; - environment.variables = { - XCURSOR_SIZE = "16"; - }; - programs.fuse.userAllowOther = true; home-manager = { extraSpecialArgs = { inherit inputs; }; @@ -70,7 +66,6 @@ in { networking.extraHosts = '' - 127.0.0.1 download.labsmartlis.local - 192.168.1.186 cacer.local c + 192.168.122.100 android ''; } diff --git a/machines/x/home.nix b/machines/x/home.nix index a769073..6a3cd25 100644 --- a/machines/x/home.nix +++ b/machines/x/home.nix @@ -54,11 +54,11 @@ "nvim" # "qtile" - # "dwl.nix" - # "themes.nix" - # "way-displays" - # "swaylock" - # "dunst" + "dwl.nix" + "themes.nix" + "way-displays" + "swaylock" + "dunst" "alacritty" ]); -- cgit v1.2.3