WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
6 changed files with 25 additions and 23 deletions
Showing only changes of commit b227b7cb19 - Show all commits

View file

@ -2,8 +2,9 @@
{
imports = [
./users.nix
./gpg.nix
./users/functionalhacker/configuration.nix
./users/som/configuration.nix
];
system.stateVersion = "24.05";

View file

@ -27,7 +27,7 @@
homeConfigurations = {
functionalhacker = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];
modules = [ ./users/functionalhacker/home.nix ];
};
};
};

View file

@ -1,17 +0,0 @@
{ config, pkgs, ... }:
{
users.users = {
functionalhacker = {
isNormalUser = true;
description = "Marko";
extraGroups = [ "networkmanager" "wheel" ];
};
som = {
isNormalUser = true;
description = "Som";
extraGroups = [ "networkmanager" ];
};
};
}

View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
users.users.functionalhacker = {
description = "Marko";
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" ];
};
}

View file

@ -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";
};
}

View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
users.users.som = {
description = "Som";
isNormalUser = true;
extraGroups = [ "networkmanager" ];
};
}