Moves appuser to app specific config.
This commit is contained in:
parent
4b8e6a9935
commit
79fa5991d9
|
@ -13,7 +13,7 @@
|
|||
# Includes packages needed for startx
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.autoLogin.user = "appuser";
|
||||
displayManager.autoLogin.user = "geekygay";
|
||||
windowManager.fluxbox.enable = true;
|
||||
};
|
||||
|
||||
|
@ -36,12 +36,6 @@
|
|||
./authorized_keys
|
||||
];
|
||||
};
|
||||
# Unprivledged user for running the application.
|
||||
appuser = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "audio" ];
|
||||
password = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.fish.enable = true;
|
||||
|
|
19
flake.lock
19
flake.lock
|
@ -131,13 +131,12 @@
|
|||
"phyzzy": "phyzzy"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1696423289,
|
||||
"narHash": "sha256-pXepszy9V/dBoqfo58W5DSg41c4ZcOQ+bZICxtaqc+8=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "001931a1faed321a50732a2f461c15a1c58bf6dd",
|
||||
"revCount": 54,
|
||||
"dirtyRev": "e89c17cc0dffeed756ab7f7b1eff1628758a647e-dirty",
|
||||
"dirtyShortRev": "e89c17c-dirty",
|
||||
"lastModified": 1696430186,
|
||||
"narHash": "sha256-0l3nTxTEzmbbOyDeCZmyekKpl4pZhjLr+JpyjohUGNo=",
|
||||
"type": "git",
|
||||
"url": "https://fem.mint.lgbt/mmelodies/mmelodies.git"
|
||||
"url": "file:///home/mtxyz/Projects/mmelodies/mmelodies"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
|
@ -223,11 +222,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1696417150,
|
||||
"narHash": "sha256-9b9JcfaA9T7kDt0f31unUqYgTe5S7JMrcZMkHQdKZUE=",
|
||||
"lastModified": 1696425948,
|
||||
"narHash": "sha256-7CBgbB3LbW7j6Ziqw+hc2x4FGhBeVBpbsKk/KcZQvFY=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "2097785400b5eadf9110167eba55290de98691c5",
|
||||
"revCount": 22,
|
||||
"rev": "3759f1e5898a6511f095583394d56e9f5939e769",
|
||||
"revCount": 24,
|
||||
"type": "git",
|
||||
"url": "https://fem.mint.lgbt/mmelodies/phyzzy.git"
|
||||
},
|
||||
|
|
|
@ -1,21 +1,14 @@
|
|||
{pkgs, lib, modulesPath, ...}:
|
||||
{pkgs, lib, modulesPath, config, ...}:
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/installer/sd-card/sd-image-aarch64.nix"
|
||||
];
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
sdImage.imageName = "orange.img";
|
||||
|
||||
sound.extraConfig = ''
|
||||
pcm.!default {
|
||||
type hw
|
||||
card Device
|
||||
}
|
||||
ctl.!default {
|
||||
type hw
|
||||
card Device
|
||||
}
|
||||
'';
|
||||
services.mmelodies.midiDevice = "MPKmini2";
|
||||
services.mmelodies.audioDevice = "Device";
|
||||
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
sdImage.imageName = "${config.networking.hostName}.img";
|
||||
|
||||
boot.loader.raspberryPi.version = 4;
|
||||
boot.supportedFilesystems = lib.mkForce [ "btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs" ];
|
||||
|
|
Loading…
Reference in New Issue