WIP: Switch to NixOS #5
6 changed files with 25 additions and 23 deletions
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./users.nix
|
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
|
./users/functionalhacker/configuration.nix
|
||||||
|
./users/som/configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
functionalhacker = home-manager.lib.homeManagerConfiguration {
|
functionalhacker = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
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 = {
|
home = {
|
||||||
|
username = "functionalhacker";
|
||||||
|
homeDirectory = "/home/functionalhacker";
|
||||||
|
stateVersion = "24.05";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
neofetch
|
neofetch
|
||||||
pass
|
pass
|
||||||
zsh
|
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