1
Fork 0
This commit is contained in:
caem 2024-04-05 14:36:20 +02:00
parent 59842a4ba4
commit 97c86fb014
No known key found for this signature in database
GPG key ID: F4F7229F8B860E9F
8 changed files with 122 additions and 7 deletions

View file

@ -1,8 +1,43 @@
{ {
"nodes": { "nodes": {
"aagl": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1712185015,
"narHash": "sha256-mL3VSJRkyDJbMh/QqUeOhGOsEOTS7Jw9Tqw4fM+VjB4=",
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"rev": "1dbb1c233a249e8cbc03907e965bd2a48d880262",
"type": "github"
},
"original": {
"owner": "ezKEa",
"repo": "aagl-gtk-on-nix",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1712212014, "lastModified": 1712212014,
@ -34,6 +69,22 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1711668574,
"narHash": "sha256-u1dfs0ASQIEr1icTVrsKwg2xToIpn7ZXxW3RHfHxshg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "219951b495fc2eac67b1456824cc1ec1fd2ee659",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1711703276, "lastModified": 1711703276,
"narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=",
@ -49,7 +100,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1712026416, "lastModified": 1712026416,
"narHash": "sha256-N/3VR/9e1NlN49p7kCiATiEY6Tzdo+CbrAG8kqCQKcI=", "narHash": "sha256-N/3VR/9e1NlN49p7kCiATiEY6Tzdo+CbrAG8kqCQKcI=",
@ -65,9 +116,10 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"aagl": "aagl",
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
} }
} }
}, },

View file

@ -3,16 +3,24 @@
inputs = { inputs = {
impermanence.url = "github:nix-community/impermanence"; impermanence.url = "github:nix-community/impermanence";
home-manager.url = "github:nix-community/home-manager";
home-manager = {
url = "github:nix-community/home-manager";
}; };
outputs = { self, nixpkgs, impermanence, home-manager, ... }: aagl = {
url = "github:ezKEa/aagl-gtk-on-nix";
};
};
outputs = { self, nixpkgs, impermanence, home-manager, aagl, ... }:
{ {
nixosConfigurations.workstation = nixpkgs.lib.nixosSystem { nixosConfigurations.workstation = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
aagl.nixosModules.default
./machines/workstation.nix ./machines/workstation.nix
./users/hu/user.nix ./users/hu/user.nix
]; ];

View file

@ -4,7 +4,7 @@
imports = [ imports = [
./hardware/workstation.nix ./hardware/workstation.nix
./persist/workstation.nix ./persist/workstation.nix
../wm/xmonad.nix ../wm/plasma.nix
../packages/sets/basic.nix ../packages/sets/basic.nix
]; ];

View file

@ -0,0 +1,11 @@
{ config, libs, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
thunderbird
tutanota-desktop
signal-desktop
element-desktop
vesktop
];
}

11
packages/sets/games.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = false;
dedicatedServer.openFirewall = false;
};
programs.honkers-railway-launcher.enable = true;
}

View file

@ -1,6 +1,11 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
imports = [
../../packages/sets/communication.nix
../../packages/sets/games.nix
];
programs.zsh.enable = true; programs.zsh.enable = true;
environment.variables = { environment.variables = {
ZDOTDIR = "${config.users.users.hu.home}/.config/zsh"; ZDOTDIR = "${config.users.users.hu.home}/.config/zsh";

13
wm/plasma.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
{
imports = [
../packages/sets/x.nix
];
services.xserver = {
enable = true;
displayManager.sddm.enable = true;
};
services.desktopManager.plasma6.enable = true;
}

View file

@ -22,12 +22,27 @@
options = "eurosign:e"; options = "eurosign:e";
}; };
libinput.enable = true;
windowManager.xmonad = { windowManager.xmonad = {
enable = true; enable = true;
enableContribAndExtras = true; enableContribAndExtras = true;
extraPackages = hp: [
hp.dbus
hp.xmonad-contrib
hp.monad-logger
];
}; };
}; };
# Todo: Get gnome-keyring working properly
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
config.common.default = "*";
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
} }