centralize home manager
This commit is contained in:
parent
ea887fb764
commit
88f7cd6ec0
7 changed files with 9 additions and 24 deletions
|
|
@ -8,7 +8,6 @@
|
|||
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
myModules = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
myModules = {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
../../modules
|
||||
inputs.raspberry-pi-nix.nixosModules.raspberry-pi
|
||||
inputs.nixos-hardware.nixosModules.raspberry-pi-5
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
myModules = {
|
||||
|
|
@ -30,13 +29,6 @@
|
|||
networking.hostName = "pochita";
|
||||
# log of shame: osbm blamed nix when he wrote "hostname" instead of "hostName"
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.osbm = import ../../home/home.nix {
|
||||
inherit config pkgs;
|
||||
backupFileExtension = "hmbak";
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.raspberrypi-eeprom
|
||||
];
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
myModules = {
|
||||
|
|
@ -19,12 +18,6 @@
|
|||
enableSound = true;
|
||||
};
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.osbm = import ../../home/home.nix {
|
||||
inherit config pkgs;
|
||||
backupFileExtension = "hmbak";
|
||||
};
|
||||
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.extraGroups.vboxusers.members = ["osbm"];
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
myModules = {
|
||||
|
|
@ -32,12 +31,6 @@
|
|||
networking.hostName = "ymir"; # Define your hostname.
|
||||
|
||||
networking.firewall.allowedTCPPorts = [8889 8000];
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.osbm = import ../../home/home.nix {
|
||||
inherit config pkgs;
|
||||
backupFileExtension = "hmbak";
|
||||
};
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
./emulation.nix
|
||||
./fonts.nix
|
||||
./graphical-interface.nix
|
||||
./home.nix
|
||||
./i18n.nix
|
||||
./minegrub.nix
|
||||
./nix-settings.nix
|
||||
|
|
|
|||
8
modules/home.nix
Normal file
8
modules/home.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{config, pkgs, ...}:{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.osbm = import ../home/home.nix {
|
||||
inherit config pkgs;
|
||||
backupFileExtension = "hmbak";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue