This commit is contained in:
dusk 2021-04-03 11:25:07 +03:00
parent 4a8e7928aa
commit 4c9ecbc3ae
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
6 changed files with 41 additions and 32 deletions

View File

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"cachix": { "cachix": {
"locked": { "locked": {
"lastModified": 1616305499, "lastModified": 1617042094,
"narHash": "sha256-WArUDrAuqq9jNLNJI0hBClleALaCysA40WBbQHQlqLg=", "narHash": "sha256-c8w5/Dz+r8gHIGZs1BHJPSzpP3Sga/BYebRkqBoDANY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9b8530e3721fc008bacac61b6c50a29712ee2f2f", "rev": "310885ec804f9fa0db5c705c7f5d35d415f50564",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1616724076, "lastModified": 1617220862,
"narHash": "sha256-SwbPXLjN2sLy4NL/GhodiJrdkIVZwGGTGiCN3JxH1cU=", "narHash": "sha256-nLka+S6Vww8hTF3ZkzK/BezvgAo1Z433/L6TR1SiXyM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "fedfd430f96695997b3eaf8d7e82ca79406afa23", "rev": "ad04237d5142f53dcba258942b78e2d2bbf210c8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -74,11 +74,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1616527350, "lastModified": 1617082367,
"narHash": "sha256-VkMevY2WLU+K7T/P4wVj18Ms8zyeRfp05ILf556m5Y8=", "narHash": "sha256-W0cQPGjc4IVzryaGycuoS8KZkXafS1P23w/fcKLoD5Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d3f7e969b9860fb80750147aeb56dab1c730e756", "rev": "04a2b269d8921505a2969fc9ec25c1f517f2b307",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -99,11 +99,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1616432821, "lastModified": 1617091432,
"narHash": "sha256-dOUdRvpiMZ5rEmvcOzymhKJ73n6dJ/W02zuiM3SpK1U=", "narHash": "sha256-L501OfMSE3OadQaEAPTPPJCWdgn3R5hXWzP6EBTGAos=",
"owner": "colemickens", "owner": "colemickens",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "af1894dceaf8ba472750a37cb601a9d935b1ae9c", "rev": "c56fca9357685dea173d81a9be67f7e1375758e3",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -13,6 +13,7 @@ let
usr = { inherit utils; }; usr = { inherit utils; };
util = utils; util = utils;
nixosPersistence = "${impermanence}/nixos.nix"; nixosPersistence = "${impermanence}/nixos.nix";
nixpkgsFlake = nixpkgs;
}; };
modules = modules =

View File

@ -167,6 +167,11 @@ in
networking.interfaces.enp6s0.useDHCP = true; networking.interfaces.enp6s0.useDHCP = true;
services = { services = {
ipfs = {
enable = true;
enableGC = true;
autoMount = true;
};
flatpak.enable = true; flatpak.enable = true;
xserver = { xserver = {
videoDrivers = [ "amdgpu" ]; videoDrivers = [ "amdgpu" ];

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, util, ... }: { config, lib, pkgs, util, nixpkgsFlake, ... }:
let let
inherit (util) pkgBin; inherit (util) pkgBin;
inherit (lib) fileContents mkIf; inherit (lib) fileContents mkIf;
@ -94,6 +94,7 @@ in
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes ca-references experimental-features = nix-command flakes ca-references
''; '';
registry.nixpkgs.flake = nixpkgsFlake;
}; };
# security = { # security = {

View File

@ -11,13 +11,13 @@
/*systemd.network = { /*systemd.network = {
enable = true; enable = true;
networks = { networks = {
internet0 = { internet0 = {
matchConfig = { Name = "enp6s0"; }; matchConfig = { Name = "enp6s0"; };
networkConfig = { networkConfig = {
Address = "192.168.1.33"; Address = "192.168.1.33";
Gateway = "192.168.1.255"; Gateway = "192.168.1.255";
};
};
}; };
};*/ };
};
};*/
} }

View File

@ -183,26 +183,26 @@ in
/*gtk = { /*gtk = {
enable = false; enable = false;
font = { font = {
package = pkgs.dejavu_fonts; package = pkgs.dejavu_fonts;
name = "DejaVu Sans 12"; name = "DejaVu Sans 12";
}; };
iconTheme = { iconTheme = {
package = pkgs.papirus-icon-theme; package = pkgs.papirus-icon-theme;
name = "Papirus Dark"; name = "Papirus Dark";
}; };
theme = { theme = {
package = pkgs.numix-gtk-theme; package = pkgs.numix-gtk-theme;
name = "Numix Dark"; name = "Numix Dark";
};
}; };
};
qt = { qt = {
enable = false; enable = false;
style = { style = {
package = pkgs.adwaita-qt; package = pkgs.adwaita-qt;
name = "adwaita-dark"; name = "adwaita-dark";
}; };
};*/ };*/
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
home = { home = {
@ -245,6 +245,8 @@ in
musikcube musikcube
qt5ct qt5ct
phantomstyle phantomstyle
papirus-icon-theme
pcmanfm-qt
] ++ kideDeps; ] ++ kideDeps;
}; };