1
Fork 0

feat: sddm

This commit is contained in:
Matei Adriel 2022-03-09 21:36:48 +02:00
parent b8768f5626
commit 18c51ecc13
4 changed files with 57 additions and 10 deletions

View file

@ -335,11 +335,28 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"oh-my-fish": "oh-my-fish", "oh-my-fish": "oh-my-fish",
"sddm-theme-chili": "sddm-theme-chili",
"telescope-file-browser-nvim": "telescope-file-browser-nvim", "telescope-file-browser-nvim": "telescope-file-browser-nvim",
"vim-extra-plugins": "vim-extra-plugins", "vim-extra-plugins": "vim-extra-plugins",
"vim-plugin-arpeggio": "vim-plugin-arpeggio" "vim-plugin-arpeggio": "vim-plugin-arpeggio"
} }
}, },
"sddm-theme-chili": {
"flake": false,
"locked": {
"lastModified": 1535340922,
"narHash": "sha256-wxWsdRGC59YzDcSopDRzxg8TfjjmA3LHrdWjepTuzgw=",
"owner": "MarianArlt",
"repo": "sddm-chili",
"rev": "6516d50176c3b34df29003726ef9708813d06271",
"type": "github"
},
"original": {
"owner": "MarianArlt",
"repo": "sddm-chili",
"type": "github"
}
},
"telescope-file-browser-nvim": { "telescope-file-browser-nvim": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -9,6 +9,7 @@
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
#### Nvim stuff #### Nvim stuff
neovim-nightly-overlay = { neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay"; url = "github:nix-community/neovim-nightly-overlay";
@ -71,6 +72,12 @@
url = "github:oh-my-fish/oh-my-fish"; url = "github:oh-my-fish/oh-my-fish";
flake = false; flake = false;
}; };
#### Other github stuff
sddm-theme-chili = {
url = "github:MarianArlt/sddm-chili";
flake = false;
};
}; };
outputs = inputs@{ self, nixpkgs, home-manager, ... }: outputs = inputs@{ self, nixpkgs, home-manager, ... }:

View file

@ -14,6 +14,7 @@
, vim-extra-plugins , vim-extra-plugins
, vim-plugin-arpeggio , vim-plugin-arpeggio
, telescope-file-browser-nvim , telescope-file-browser-nvim
, sddm-theme-chili
, ... , ...
}: self: super: }: self: super:
# installs a vim plugin from git with a given tag / branch # installs a vim plugin from git with a given tag / branch
@ -67,4 +68,6 @@ in
arpeggio = plugin "arpeggio" vim-plugin-arpeggio; arpeggio = plugin "arpeggio" vim-plugin-arpeggio;
}; };
sddm-theme-chili = sddm-theme-chili;
} }

View file

@ -1,11 +1,30 @@
{ ... }: { { pkgs, ... }: {
environment.systemPackages = with pkgs; [
# Required for the sddm theme
libsForQt5.qt5.qtquickcontrols
libsForQt5.qt5.qtgraphicaleffects
libsForQt5.qt5.qtbase
];
services.xserver = { services.xserver = {
# Enable the X11 windowing system. # Enable the X11 windowing system.
enable = true; enable = true;
xkbOptions = "eurosign:e"; xkbOptions = "eurosign:e";
# Make the xmonad session the default # Make the xmonad session the default
displayManager.defaultSession = "none+xmonad"; # displayManager.defaultSession = "none+xmonad";
displayManager = {
defaultSession = "none+xmonad";
sddm = {
enable = true;
theme = "${pkgs.sddm-theme-chili}";
};
autoLogin = {
enable = true;
user = "adrielus";
};
};
# Enable xmonad # Enable xmonad
windowManager.xmonad = { windowManager.xmonad = {
@ -14,14 +33,15 @@
}; };
# Enable xfce I think? # Enable xfce I think?
desktopManager = { # desktopManager = {
xterm.enable = false; # xterm.enable = false;
xfce = { # xfce = {
enable = true; # enable = true;
noDesktop = true; # noDesktop = true;
enableXfwm = false; # enableXfwm = false;
}; # };
}; # };
libinput = { libinput = {
# Enable touchpad support. # Enable touchpad support.