update
This commit is contained in:
parent
57e6667777
commit
89ed7988f9
12
flake.lock
12
flake.lock
|
@ -96,11 +96,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1731236720,
|
"lastModified": 1731297786,
|
||||||
"narHash": "sha256-XyfDLPyOH+8+3uCxRPzhmbo2f14w2uYQDQ7EXAEdqt8=",
|
"narHash": "sha256-YC+FPREQqPF2HNSu1PkvVps5mBzexxvCV6NXfTf/kQI=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "bc3b536455de8d36e582679a2a5ba02cb4ce5e8a",
|
"rev": "85c8db7e7e901f656072b01f89c8fffcab26bfa6",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -311,11 +311,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730785428,
|
"lastModified": 1731139594,
|
||||||
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=",
|
"narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7",
|
"rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
11
flake.nix
11
flake.nix
|
@ -13,7 +13,8 @@
|
||||||
domain = "joygnu.org";
|
domain = "joygnu.org";
|
||||||
mail = "contact@joygnu.org";
|
mail = "contact@joygnu.org";
|
||||||
nixpath = "nix/";
|
nixpath = "nix/";
|
||||||
systemConfig = {modules}:
|
|
||||||
|
nixosconf = {modules}:
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
@ -30,16 +31,16 @@
|
||||||
modules = [./hosts/phone];
|
modules = [./hosts/phone];
|
||||||
};
|
};
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
desktop = systemConfig {
|
desktop = nixosconf {
|
||||||
modules = [./hosts/desktop];
|
modules = [./hosts/desktop];
|
||||||
};
|
};
|
||||||
laptop = systemConfig {
|
laptop = nixosconf {
|
||||||
modules = [./hosts/laptop];
|
modules = [./hosts/laptop];
|
||||||
};
|
};
|
||||||
server = systemConfig {
|
server = nixosconf {
|
||||||
modules = [./hosts/server];
|
modules = [./hosts/server];
|
||||||
};
|
};
|
||||||
iso = systemConfig {
|
iso = nixosconf {
|
||||||
modules = [./hosts/iso];
|
modules = [./hosts/iso];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{modulesPath, ...}: {
|
{modulesPath, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||||
../../modules
|
../../modules/system
|
||||||
|
../../modules/programs
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf config.games.enable {
|
config = lib.mkIf config.games.enable {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = with pkgs; [
|
||||||
# pkgs.cemu
|
cemu
|
||||||
customPkgs.suyu
|
customPkgs.suyu
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
./bluetooth
|
./bluetooth
|
||||||
./openrgb
|
./openrgb
|
||||||
./sound
|
./sound
|
||||||
|
./lact
|
||||||
./boot
|
./boot
|
||||||
./led
|
./led
|
||||||
];
|
];
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
hs = "z ~ && ssh ${username}@${domain}";
|
hs = "z ~ && ssh ${username}@${domain}";
|
||||||
su = "z ~ && su";
|
su = "z ~ && su";
|
||||||
ip = "sh ~/${nixpath}modules/programs/zsh/scripts/ip.sh";
|
ip = "sh ~/${nixpath}modules/programs/zsh/scripts/ip.sh";
|
||||||
rb = "sh ~/${nixpath}modules/programs/zsh/scripts/ip.sh";
|
rb = "sh ~/${nixpath}modules/programs/zsh/scripts/rebuild.sh";
|
||||||
fr = "doas systemctl reboot --firmware";
|
fr = "doas systemctl reboot --firmware";
|
||||||
up = "nix flake update --flake ~/${nixpath}";
|
up = "nix flake update --flake ~/${nixpath}";
|
||||||
del = "doas nix-collect-garbage -d";
|
del = "doas nix-collect-garbage -d";
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
./user
|
./user
|
||||||
./homemanger
|
./homemanger
|
||||||
./networking
|
./networking
|
||||||
./lact
|
|
||||||
./doas
|
./doas
|
||||||
./misc
|
./misc
|
||||||
];
|
];
|
||||||
|
|
|
@ -6,4 +6,5 @@
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
services.xserver.excludePackages = [pkgs.xterm];
|
services.xserver.excludePackages = [pkgs.xterm];
|
||||||
programs.nano.enable = false;
|
programs.nano.enable = false;
|
||||||
|
programs.java.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue