time to put this on a laptop and do shit from there
This commit is contained in:
parent
720828a097
commit
5b70d63280
4 changed files with 35 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./marty-pc.nix
|
./marty-pc.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
./user/marty.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
marty-server = nixpkgs.lib.nixosSystem {
|
marty-server = nixpkgs.lib.nixosSystem {
|
||||||
|
|
@ -32,6 +32,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./marty-server.nix
|
./marty-server.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
./user/marty.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -40,6 +41,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./marty-latitude.nix
|
./marty-latitude.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
./user/marty.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
21
modules/user/marty.nix
Normal file
21
modules/user/marty.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -8,6 +8,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
./shell.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
system/shell.nix
Normal file
10
system/shell.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment = {
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
fish
|
||||||
|
coreutils
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue