Moooore changes

work
Matthew Ess 2021-05-05 20:05:27 -04:00
parent edb9f71f70
commit 73960667b6
4 changed files with 235 additions and 242 deletions

View File

@ -7,9 +7,11 @@
./caches.nix ./caches.nix
./quicksudo.nix ./quicksudo.nix
../users/mat.nix ../users/mat.nix
../users/mat-hm.nix <home-manager/nixos>
]; ];
home-manager.users.mat = import ../users/mat-hm.nix { inherit pkgs; };
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;
system.copySystemConfiguration = true; system.copySystemConfiguration = true;

View File

@ -2,8 +2,12 @@
{ {
imports = imports = [ ./common.nix ./local.nix ./graphical.nix ];
[ ./common.nix ./local.nix ./graphical.nix ../users/mat-hm-laptop.nix ];
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.mat = import ../users/mat-hm-laptop.nix { inherit pkgs; };
# enable power management # enable power management
powerManagement.enable = true; powerManagement.enable = true;

View File

@ -1,11 +1,6 @@
{ config, ... }: { pkgs, ... }:
let statusCmd = "i3status-rs ~/.config/i3status.toml";
let
statusCmd = "i3status-rs ~/.config/i3status.toml";
in { in {
home-manager.users.mat = { pkgs, lib, ... }: {
home = { home = {
sessionVariables = { sessionVariables = {
BROWSER = "vivaldi"; BROWSER = "vivaldi";
@ -112,5 +107,4 @@ in {
awesome = { enable = false; }; awesome = { enable = false; };
}; };
}; };
};
} }

View File

@ -1,14 +1,8 @@
{ config, ... }: { pkgs, ... }:
let let
name = "Matthew Ess"; name = "Matthew Ess";
email = "mat@mat.services"; email = "mat@mat.services";
in { in {
imports = [ <home-manager/nixos> ];
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.mat = { pkgs, ... }: {
home = { home = {
sessionVariables = { EDITOR = "nvim"; }; sessionVariables = { EDITOR = "nvim"; };
packages = with pkgs; [ packages = with pkgs; [
@ -149,5 +143,4 @@ in {
''; '';
}; };
}; };
};
} }