time to put this on a laptop and do shit from there

This commit is contained in:
martyTF 2025-12-16 17:09:00 +01:00
parent 720828a097
commit 5b70d63280
4 changed files with 35 additions and 2 deletions

View file

@ -24,7 +24,7 @@
modules = [
./marty-pc.nix
./configuration.nix
./user/marty.nix
];
};
marty-server = nixpkgs.lib.nixosSystem {
@ -32,6 +32,7 @@
modules = [
./marty-server.nix
./configuration.nix
./user/marty.nix
];
};
@ -40,6 +41,7 @@
modules = [
./marty-latitude.nix
./configuration.nix
./user/marty.nix
];
};

21
modules/user/marty.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
users.users.marty = {
isNormalUser = true;
description = "marty";
extraGroups = [
"networkmanager"
"wheel"
"video"
"audio"
"render"
];
shell = pkgs.fish;
};
security.sudo = {
enable = true;
wheelNeedsPassword = true;
};
}

View file

@ -8,6 +8,6 @@
{
imports = [
./boot.nix
./shell.nix
];
}

10
system/shell.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
environment = {
systemPackages = with pkgs; [
fish
coreutils
]
}
}