WIP: Switch to NixOS #5
6 changed files with 25 additions and 23 deletions
|
@ -2,8 +2,9 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./users.nix
|
||||
./gpg.nix
|
||||
./users/functionalhacker/configuration.nix
|
||||
./users/som/configuration.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
homeConfigurations = {
|
||||
functionalhacker = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix ];
|
||||
modules = [ ./users/functionalhacker/home.nix ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
17
users.nix
17
users.nix
|
@ -1,17 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users = {
|
||||
functionalhacker = {
|
||||
isNormalUser = true;
|
||||
description = "Marko";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
|
||||
som = {
|
||||
isNormalUser = true;
|
||||
description = "Som";
|
||||
extraGroups = [ "networkmanager" ];
|
||||
};
|
||||
};
|
||||
}
|
9
users/functionalhacker/configuration.nix
Normal file
9
users/functionalhacker/configuration.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.functionalhacker = {
|
||||
description = "Marko";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
}
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
{
|
||||
home = {
|
||||
username = "functionalhacker";
|
||||
homeDirectory = "/home/functionalhacker";
|
||||
stateVersion = "24.05";
|
||||
|
||||
packages = with pkgs; [
|
||||
neofetch
|
||||
pass
|
||||
zsh
|
||||
];
|
||||
|
||||
username = "functionalhacker";
|
||||
homeDirectory = "/home/functionalhacker";
|
||||
stateVersion = "24.05";
|
||||
};
|
||||
}
|
9
users/som/configuration.nix
Normal file
9
users/som/configuration.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.som = {
|
||||
description = "Som";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue