Various qwark updates

This commit is contained in:
yaroslav
2025-06-12 11:42:51 +03:00
parent d0286e99e0
commit 7060c03f10
4 changed files with 40 additions and 17 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
{ ... }: { ... }:
{ {
services.desktopManager.cinnamon.enable; services.xserver.desktopManager.xfce.enable = true;
} }
Generated
+22
View File
@@ -17,6 +17,27 @@
"type": "indirect" "type": "indirect"
} }
}, },
"hm-stable": {
"inputs": {
"nixpkgs": [
"nixpkgs-stable"
]
},
"locked": {
"lastModified": 1749154018,
"narHash": "sha256-gjN3j7joRvT3a8Zgcylnd4NFsnXeDBumqiu4HmY1RIg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7aae0ee71a17b19708b93b3ed448a1a0952bf111",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-25.05",
"repo": "home-manager",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -119,6 +140,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"hm-stable": "hm-stable",
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
+14 -14
View File
@@ -14,14 +14,14 @@
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
# hm-stable = { hm-stable = {
# url = "github:nix-community/home-manager/release-25.05"; url = "github:nix-community/home-manager/release-25.05";
# inputs.nixpkgs-stable.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs-stable";
# }; };
zapret.url = "github:n0vvvonder/zapret-flake.nix"; zapret.url = "github:n0vvvonder/zapret-flake.nix";
}; };
outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, ...}@inputs: { outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, hm-stable, ...}@inputs: {
nixosConfigurations = { nixosConfigurations = {
Ratchet = nixpkgs-unstable.lib.nixosSystem { Ratchet = nixpkgs-unstable.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@@ -83,7 +83,7 @@
} }
]; ];
}; };
Quark = nixpkgs-stable.lib.nixosSystem { Qwark = nixpkgs-stable.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
@@ -95,14 +95,14 @@
./hosts/Quark/sound.nix ./hosts/Quark/sound.nix
./hosts/generic/virtualization.nix ./hosts/generic/virtualization.nix
./desktop/cinnamon.nix ./desktop/cinnamon.nix
# hm-stable.nixosModules.home-manager { hm-stable.nixosModules.home-manager {
# home-manager.useUserPackages = true; home-manager.useUserPackages = true;
# home-manager.users.yaroslav = { home-manager.users.yaroslav = {
# imports = [ imports = [
# ./home/yaroslav/home.nix ./home/yaroslav/home.nix
# ]; ];
# }; };
# } }
]; ];
}; };
}; };
+3 -1
View File
@@ -55,7 +55,9 @@
#boot.initrd.network.flushBeforeStage2 = false; #boot.initrd.network.flushBeforeStage2 = false;
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; # networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true; # networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
networking.firewall.allowedTCPPorts = [ 4713 ];
networking.hostName = "Qwark";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
system.stateVersion = "25.05";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }